Schedule FAQs
Frequently asked questions for the Schedule guide.
How Can I Exclude Holidays Or Specific Dates From Job Execution
Go to the Calendars section and add a new calendar of type:
Holiday – to define specific dates to exclude.
Weekly or Monthly – to exclude days like weekends or the 1st of every month.
Then, assign the calendar to the trigger using the Enable Between option to ensure it obeys the exclusion rules.
What Is The Difference Between Simple Daily And Cron Triggers
Simple Trigger: Best for limited, repeated executions at constant intervals.
Daily Time Interval Trigger: Ideal for business hours or repeated daily time slots.
Cron Trigger: Most powerful option for advanced scheduling patterns (e.g., weekdays at 9 AM, first Monday of the month, etc.).
Choose the one that fits your use case and precision needs.
How Does Time Zone Configuration Affect Cron Trigger Execution
If your cron expression is '0 0 12 * * ?', it will fire at 12:00 PM in the selected time zone.
For example:
If the scheduler is set to UTC+03 (Istanbul), it runs at 12:00 PM Istanbul time.
If set to UTC-03 (Greenland), it runs at 12:00 PM Greenland time, which is 6:00 PM Istanbul time.
Always verify your server time zone and scheduler configuration to align expectations.
What Types Of Triggers Can I Use In A Schedule
You can use the following trigger types in schedule jobs:
Simple Trigger – Executes the job at defined intervals within a specific date range or count.
Daily Time Interval Trigger – Executes the job during specified time blocks within each day.
Cron Trigger – Uses cron expressions for flexible and advanced scheduling (e.g., every Monday at 9 AM).
Each trigger type supports misfire handling and time zone configuration.
Why Is My Scheduled Job Not Being Triggered
Common reasons a trigger might not fire include:
The trigger's Enable Between date range is expired or incorrect.
The Repeat Count is zero or already exhausted.
The job is missing a valid Personal Access Key.
The associated calendar restricts execution during selected times.
The trigger's Misfire Rule ignores missed executions.
Review each setting in the Property Inspector to ensure correctness.
How Do I Call A Method From A DLL In A Scheduler Job
Choose the Method Invoke Action and configure these fields:
Assembly Path: Select the desired DLL from the document repository.
Type Name: Provide the namespace and class name (e.g., 'MyNamespace.MyClass').
Method Name: Enter the method to call.
Method Arguments: If the method accepts parameters, define them here.
Default Values: For constructors that require initialization parameters.
Note: If both constructor values and method arguments are defined, the method will be executed via overload and the constructor won’t be triggered.
Do I Need A Personal Access Key For My Job To Work
A Personal Access Key is mandatory for each job defined in the scheduler. It ensures:
Secure execution of actions like flow start or REST calls.
That the action runs under the identity and permissions of the key owner.
If no key is provided or it lacks the necessary permissions, the job will not execute.
Can I Define Multiple Jobs In A Single Schedule File
You can define multiple jobs inside a single '.sch' file. Each job can contain its own set of:
- Triggers
- Actions (e.g., start flow, call REST API)
- Personal Access Key
This allows managing multiple independent schedules in one place.
Can I Start A Workflow From A Scheduler Job
Use the Process Start Invoke Action in your job's Then section to start a specific flow from a selected project.
Ensure the following:
The flow has Start Immediately enabled.
The Flow Start Node has no required document input.
You optionally define Flow Parameters if the flow expects